package com.ubireality.module.patronus;

import java.util.Set;

import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;

import com.ubireality.module.basic.BaseEntity;
import com.ubireality.module.effect.Behavior;
import com.ubireality.module.effect.BodyParticle;
import com.ubireality.module.effect.Color;
import com.ubireality.module.effect.MagicCircle;

@Entity
public class PatronEffects extends BaseEntity {
	//all are single direction relationship 
	@OneToOne
	private BodyParticle bodyParticle;
	@OneToOne
	private Color color;
	@OneToOne
	private MagicCircle magicCircle;
	@OneToMany
	private Set<Behavior> behaviors;

	public BodyParticle getBodyParticle() {
		return bodyParticle;
	}

	public void setBodyParticle(BodyParticle bodyParticle) {
		this.bodyParticle = bodyParticle;
	}

	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}

	public MagicCircle getMagicCircle() {
		return magicCircle;
	}

	public void setMagicCircle(MagicCircle magicCircle) {
		this.magicCircle = magicCircle;
	}

	public Set<Behavior> getBehaviors() {
		return behaviors;
	}

	public void setBehaviors(Set<Behavior> behaviors) {
		this.behaviors = behaviors;
	}

}
